function inpoot= getData(name)
% Part of our homemade load function for our GUI. This function loads the data after it
% has been extracted by FileExists and restores the figure. [name]
% indicates the file which will be loaded.

%% Loading data in temp folder
unzip(name{1},'.\Core\temp') %unzips the savefile in temp

%% Read data
hgload('.\Core\Temp\smiles.fig'); %restores figure data.
inpoot = textread('input.txt','%s'); %just for testing, still problems

%% Remove temp files
delete('.\Core\temp\smiles.fig','.\Core\temp\input.txt')
end
